package com.fast.admin.common.utils;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * Created by 尘埃 on 2017/9/4 16:48.
 */
@Component
@ConfigurationProperties(prefix = "dudu.config")  // 配置文件中的前缀
@Data
public class Const {
    /**
     * 验证码
     */
    public static final String VERIFY_CODE = "verifyCode";
    /**
     * 用户session
     */
    public static final String SYSTEM_USER = "sysUser";
    /**
     * 用户角色
     */
    public static final String SYSTEM_ROLE = "sysRole";
    /**
     * 二维码输出文件路径
     */
    private String qrcodeFilePath;
    /**
     * 二维码压缩存放路径
     */
    private String qrcodeZipPath;
}
